package com.liao.badminton.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.badminton.code.PageParam;
import com.liao.badminton.code.ProjectException;
import com.liao.badminton.code.ResponseRest;
import com.liao.badminton.dto.SystemSmsCodeDto;
import com.liao.badminton.entity.SystemSmsCode;

/**
 * @author liaocheng
 * @date 2023-11-22
 * description:手机验证码
 */
public interface SystemSmsCodeService extends IService<SystemSmsCode> {
    /**
     * 新增
     */
    ResponseRest saveSystemSmsCode(SystemSmsCodeDto param) throws ProjectException;

    /**
     * 删除
     */
    ResponseRest deletesSystemSmsCode(SystemSmsCodeDto param) throws ProjectException;

    /**
     * 修改
     */
    ResponseRest updateSystemSmsCode(SystemSmsCodeDto param) throws ProjectException;

    /**
     * 查询详情
     */
    ResponseRest findDetail(SystemSmsCodeDto param) throws ProjectException;

    /**
     * 查询列表
     */
    ResponseRest findSystemSmsCodeByPageParam(PageParam<SystemSmsCodeDto> PageParam) throws ProjectException;


}
